-- GENERATED SPELL FOR [Gorefang] --


function spell0_12431(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12431', 15000, 1)
end

function Sorts_12431(pUnit, Event)
local choix_sorts_12431 = math.random(0, 0)
if choix_sorts_12431 == 0 then
pUnit:RegisterEvent('spell0_12431', 1, 1)
end
end

function mob12431_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12431', math.random(1500, 3000), 1)
end

function mob12431_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12431_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12431_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12431, 1, 'mob12431_Action')
RegisterUnitEvent(12431, 2, 'mob12431_Leave')
RegisterUnitEvent(12431, 3, 'mob12431_Kill')
RegisterUnitEvent(12431, 4, 'mob12431_Die')
